package com.myGroup.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "活动类DTO", description = "新增活动时前端传过来的数据")
public class ActivityDTO {
    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty("活动地点")
    private String place;

    @ApiModelProperty("活动举办方")
    private String org;

    @ApiModelProperty("活动内容")
    private String content;

    @ApiModelProperty("活动积分，数据库默认50")
    private Integer score;

    @ApiModelProperty("活动需要的人数，数据库默认100")
    private Integer people;

    @ApiModelProperty("活动开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty("图像")
    private String image;

    @ApiModelProperty("状态 0:禁用，1:正常")
    private Integer status;
}
